let trayShouldBeVisible = (this._summaryState == State.SHOWING ||
this._summaryState == State.SHOWN);
if (!trayIsVisible && trayShouldBeVisible)
- this._showTray();
+ trayShouldBeVisible = this._showTray();
else if (trayIsVisible && !trayShouldBeVisible)
this._hideTray();
modal: modal,
onUngrab: Lang.bind(this, this._escapeTray) })) {
this._traySummoned = false;
- return;
+ return false;
}
this._tween(this.actor, '_trayState', State.SHOWN,
if (this._overviewVisible) {
this._lightbox.show();
}
+
+ return true;
},
_showDesktopClone: function() {